<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>多选按钮</title>
    <script src="./lib/angular.min.js"></script>
</head>
<body ng-app="wu">
<div ng-controller="ctrl">
    <p>游戏：<input type="checkbox" ng-model="data.game" ng-true-value="1" ng-false-value="0"></p>
    <p>电影：<input type="checkbox" ng-model="data.video" ng-true-value="1" ng-false-value="0"></p>

    <div ng-show="data.game == 1">
        <h3>开始玩游戏了。。。</h3>
    </div>

    <div ng-show="data.video == 1">
        <h3>看电影时间到了。。。</h3>
    </div>


</div>

<script>
    var m = angular.module('wu',[]);
    m.controller('ctrl',['$scope',function (scope) {
        scope.data = {game: 0, video: 0};
    }]);
</script>
</body>
</html>